var express = require("express");
var router = express.Router();
const user = require("../controller/users");
router.get("/findAll", user.findAll);
router.get("/checkUserName", user.checkUserName);
router.post("/register", user.register);
router.post("/login", user.login);
module.exports = router;
